ISnapshotHolder

StockSharp.Messages

Interface, described snapshots holder.

方法

Process(T) : T

Process change.

change
change.

返回值: change (diff or snapshot clone on first call).

ResetSnapshot(SecurityId)

Reset snapshot for the specified security.

securityId
Security ID.
TryGetSnapshot(SecurityId, T) : bool

Try get snapshot for the specified security.

securityId
Security ID.
snapshot
Snapshot if exists, otherwise .

返回值: true if snapshot exists; otherwise false.